package com.kld.sys.po;

import java.io.Serializable;
import java.util.Date;

/**
 * hejinping 2016.3.23
 */
public class SysUser implements Serializable {
    private static final long serialVersionUID = 7117040363768333028L;
    /**
     * 用户名
     */
    private String username;

    /**
     * 姓名
     */
    private Object realname;

    /**
     * 密码
     */
    private String pwd;

    /**
     * 性别
     */
    private Integer gender;

    /**
     * 座机
     */
    private String phone;

    /**
     * 手机
     */
    private String mobile;

    /**
     * 电子邮箱
     */
    private String email;

    /**
     * 状态
     */
    private Integer state;

    /**
     * 创建者
     */
    private String creator;

    /**
     * 创建时间
     */
    private Date createtime;

    /**
     * 修改人
     */
    private String modifier;

    /**
     * 修改时间
     */
    private Date moditime;

    /**
     * 角色
     */
    private String rolecode;

    /**
     * 组织机构
     */
    private String oucode;

    /**
     * 所属机构级别
     */
    private Integer oulevel;
    /**
     * 职位
     */
    private String job;

    /**
     * 逻辑删除（0未删除，1已删除）
     */
    private Integer isdel;

    private String rolename;

    private String ouname;

    private String opinion;

    public String getOpinion() {
        return opinion;
    }

    public void setOpinion(String opinion) {
        this.opinion = opinion;
    }

    public String getOuname() {
        return ouname;
    }

    public void setOuname(String ouname) {
        this.ouname = ouname;
    }

    public String getRolename() {
        return rolename;
    }

    public void setRolename(String rolename) {
        this.rolename = rolename;
    }

    public Integer getIsdel() {
        return isdel;
    }

    public void setIsdel(Integer isdel) {
        this.isdel = isdel;
    }

    public String getJob() {
        return job;
    }

    public void setJob(String job) {
        this.job = job;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column JIFEN.SYS_USER.USERNAME
     *
     * @return the value of JIFEN.SYS_USER.USERNAME
     *
     * @mbggenerated
     */
    public String getUsername() {
        return username;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column JIFEN.SYS_USER.USERNAME
     *
     * @param username the value for JIFEN.SYS_USER.USERNAME
     *
     * @mbggenerated
     */
    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column JIFEN.SYS_USER.REALNAME
     *
     * @return the value of JIFEN.SYS_USER.REALNAME
     *
     * @mbggenerated
     */
    public Object getRealname() {
        return realname;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column JIFEN.SYS_USER.REALNAME
     *
     * @param realname the value for JIFEN.SYS_USER.REALNAME
     *
     * @mbggenerated
     */
    public void setRealname(Object realname) {
        this.realname = realname;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column JIFEN.SYS_USER.PWD
     *
     * @return the value of JIFEN.SYS_USER.PWD
     *
     * @mbggenerated
     */
    public String getPwd() {
        return pwd;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column JIFEN.SYS_USER.PWD
     *
     * @param pwd the value for JIFEN.SYS_USER.PWD
     *
     * @mbggenerated
     */
    public void setPwd(String pwd) {
        this.pwd = pwd == null ? null : pwd.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column JIFEN.SYS_USER.GENDER
     *
     * @return the value of JIFEN.SYS_USER.GENDER
     *
     * @mbggenerated
     */
    public Integer getGender() {
        return gender;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column JIFEN.SYS_USER.GENDER
     *
     * @param gender the value for JIFEN.SYS_USER.GENDER
     *
     * @mbggenerated
     */
    public void setGender(Integer gender) {
        this.gender = gender;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column JIFEN.SYS_USER.PHONE
     *
     * @return the value of JIFEN.SYS_USER.PHONE
     *
     * @mbggenerated
     */
    public String getPhone() {
        return phone;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column JIFEN.SYS_USER.PHONE
     *
     * @param phone the value for JIFEN.SYS_USER.PHONE
     *
     * @mbggenerated
     */
    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column JIFEN.SYS_USER.MOBILE
     *
     * @return the value of JIFEN.SYS_USER.MOBILE
     *
     * @mbggenerated
     */
    public String getMobile() {
        return mobile;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column JIFEN.SYS_USER.MOBILE
     *
     * @param mobile the value for JIFEN.SYS_USER.MOBILE
     *
     * @mbggenerated
     */
    public void setMobile(String mobile) {
        this.mobile = mobile == null ? null : mobile.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column JIFEN.SYS_USER.EMAIL
     *
     * @return the value of JIFEN.SYS_USER.EMAIL
     *
     * @mbggenerated
     */
    public String getEmail() {
        return email;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column JIFEN.SYS_USER.EMAIL
     *
     * @param email the value for JIFEN.SYS_USER.EMAIL
     *
     * @mbggenerated
     */
    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column JIFEN.SYS_USER.STATE
     *
     * @return the value of JIFEN.SYS_USER.STATE
     *
     * @mbggenerated
     */
    public Integer getState() {
        return state;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column JIFEN.SYS_USER.STATE
     *
     * @param state the value for JIFEN.SYS_USER.STATE
     *
     * @mbggenerated
     */
    public void setState(Integer state) {
        this.state = state;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column JIFEN.SYS_USER.CREATOR
     *
     * @return the value of JIFEN.SYS_USER.CREATOR
     *
     * @mbggenerated
     */
    public String getCreator() {
        return creator;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column JIFEN.SYS_USER.CREATOR
     *
     * @param creator the value for JIFEN.SYS_USER.CREATOR
     *
     * @mbggenerated
     */
    public void setCreator(String creator) {
        this.creator = creator == null ? null : creator.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column JIFEN.SYS_USER.CREATETIME
     *
     * @return the value of JIFEN.SYS_USER.CREATETIME
     *
     * @mbggenerated
     */
    public Date getCreatetime() {
        return createtime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column JIFEN.SYS_USER.CREATETIME
     *
     * @param createtime the value for JIFEN.SYS_USER.CREATETIME
     *
     * @mbggenerated
     */
    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column JIFEN.SYS_USER.MODIFIER
     *
     * @return the value of JIFEN.SYS_USER.MODIFIER
     *
     * @mbggenerated
     */
    public String getModifier() {
        return modifier;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column JIFEN.SYS_USER.MODIFIER
     *
     * @param modifier the value for JIFEN.SYS_USER.MODIFIER
     *
     * @mbggenerated
     */
    public void setModifier(String modifier) {
        this.modifier = modifier == null ? null : modifier.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column JIFEN.SYS_USER.MODITIME
     *
     * @return the value of JIFEN.SYS_USER.MODITIME
     *
     * @mbggenerated
     */
    public Date getModitime() {
        return moditime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column JIFEN.SYS_USER.MODITIME
     *
     * @param moditime the value for JIFEN.SYS_USER.MODITIME
     *
     * @mbggenerated
     */
    public void setModitime(Date moditime) {
        this.moditime = moditime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column JIFEN.SYS_USER.ROLECODE
     *
     * @return the value of JIFEN.SYS_USER.ROLECODE
     *
     * @mbggenerated
     */
    public String getRolecode() {
        return rolecode;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column JIFEN.SYS_USER.ROLECODE
     *
     * @param rolecode the value for JIFEN.SYS_USER.ROLECODE
     *
     * @mbggenerated
     */
    public void setRolecode(String rolecode) {
        this.rolecode = rolecode == null ? null : rolecode.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column JIFEN.SYS_USER.OUCODE
     *
     * @return the value of JIFEN.SYS_USER.OUCODE
     *
     * @mbggenerated
     */
    public String getOucode() {
        return oucode;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column JIFEN.SYS_USER.OUCODE
     *
     * @param oucode the value for JIFEN.SYS_USER.OUCODE
     *
     * @mbggenerated
     */
    public void setOucode(String oucode) {
        this.oucode = oucode == null ? null : oucode.trim();
    }

    public Integer getOulevel() {
        return oulevel;
    }

    public void setOulevel(Integer oulevel) {
        this.oulevel = oulevel;
    }

    @Override
    public String toString() {
        return "SysUser{" +
                "username='" + username + '\'' +
                ", realname=" + realname +
                ", pwd='" + pwd + '\'' +
                ", gender=" + gender +
                ", phone='" + phone + '\'' +
                ", mobile='" + mobile + '\'' +
                ", email='" + email + '\'' +
                ", state=" + state +
                ", creator='" + creator + '\'' +
                ", createtime=" + createtime +
                ", modifier='" + modifier + '\'' +
                ", moditime=" + moditime +
                ", rolecode='" + rolecode + '\'' +
                ", oucode='" + oucode + '\'' +
                ", oulevel='" + oulevel + '\'' +
                ", job='" + job + '\'' +
                ", isdel=" + isdel +
                '}';
    }
}